package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

@Table(name = "T_B28_PROCESS_VER")
public class ProcessVer extends BasePojo {
    @Id
    @Column(name = "L_PRO_VER", insertable = false)
    private Integer lProVer;//版本id

    private Integer lProduct;//产品id

    private String vcVersion;//版本名称

    private Integer lMatId;//物料id

    private Integer lCreater;//创建者

    private Date dCreateTime;//创建时间

    private Integer lDefaultVersion;//默认版本

    private String vcRemark;//说明

    private Integer lDataState;//数据状态

    //查询条件

    private Integer offlineId;//维修id

    private Integer proVerId;//版本id

    private Integer offlineListId;//维修子工序id



    private List<ProcessFlow> processFlowList;

    private List<ProcessOffline> processOfflines;

    private List<ProcessOfflineList> processOfflineLists;

    private List<ProcessExchange> processExchanges;


    public Integer getOfflineId() {
        return offlineId;
    }

    public void setOfflineId(Integer offlineId) {
        this.offlineId = offlineId;
    }

    public Integer getProVerId() {
        return proVerId;
    }

    public void setProVerId(Integer proVerId) {
        this.proVerId = proVerId;
    }

    public Integer getOfflineListId() {
        return offlineListId;
    }

    public void setOfflineListId(Integer offlineListId) {
        this.offlineListId = offlineListId;
    }

    public List<ProcessOffline> getProcessOfflines() {
        return processOfflines;
    }

    public void setProcessOfflines(List<ProcessOffline> processOfflines) {
        this.processOfflines = processOfflines;
    }

    public List<ProcessOfflineList> getProcessOfflineLists() {
        return processOfflineLists;
    }

    public void setProcessOfflineLists(List<ProcessOfflineList> processOfflineLists) {
        this.processOfflineLists = processOfflineLists;
    }

    public List<ProcessExchange> getProcessExchanges() {
        return processExchanges;
    }

    public void setProcessExchanges(List<ProcessExchange> processExchanges) {
        this.processExchanges = processExchanges;
    }

    public List<ProcessFlow> getProcessFlowList() {
        return processFlowList;
    }

    public void setProcessFlowList(List<ProcessFlow> processFlowList) {
        this.processFlowList = processFlowList;
    }

    public Integer getlProVer() {
        return lProVer;
    }

    public void setlProVer(Integer lProVer) {
        this.lProVer = lProVer;
    }

    public Integer getlProduct() {
        return lProduct;
    }

    public void setlProduct(Integer lProduct) {
        this.lProduct = lProduct;
    }

    public String getVcVersion() {
        return vcVersion;
    }

    public void setVcVersion(String vcVersion) {
        this.vcVersion = vcVersion == null ? null : vcVersion.trim();
    }

    public Integer getlMatId() {
        return lMatId;
    }

    public void setlMatId(Integer lMatId) {
        this.lMatId = lMatId;
    }

    public Integer getlCreater() {
        return lCreater;
    }

    public void setlCreater(Integer lCreater) {
        this.lCreater = lCreater;
    }

    public Date getdCreateTime() {
        return dCreateTime;
    }

    public void setdCreateTime(Date dCreateTime) {
        this.dCreateTime = dCreateTime;
    }

    public Integer getlDefaultVersion() {
        return lDefaultVersion;
    }

    public void setlDefaultVersion(Integer lDefaultVersion) {
        this.lDefaultVersion = lDefaultVersion;
    }

    public String getVcRemark() {
        return vcRemark;
    }

    public void setVcRemark(String vcRemark) {
        this.vcRemark = vcRemark == null ? null : vcRemark.trim();
    }

    public Integer getlDataState() {
        return lDataState;
    }

    public void setlDataState(Integer lDataState) {
        this.lDataState = lDataState;
    }

    @Override
    public String toString() {
        return "ProcessVer{" +
                "lProVer=" + lProVer +
                ", lProduct=" + lProduct +
                ", vcVersion='" + vcVersion + '\'' +
                ", lMatId=" + lMatId +
                ", lCreater=" + lCreater +
                ", dCreateTime=" + dCreateTime +
                ", lDefaultVersion=" + lDefaultVersion +
                ", vcRemark='" + vcRemark + '\'' +
                ", lDataState=" + lDataState +
                '}';
    }
}